package cn.tedu._02notice.mapper;

import cn.tedu._02notice.pojo.dto.SelectNoticeQuery;
import cn.tedu._02notice.pojo.entity.Notice;
import cn.tedu._02notice.pojo.vo.NoticeListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.jmx.export.annotation.ManagedOperationParameter;

import java.util.List;

@Mapper
public interface NoticeMapper {

    int insert(Notice notice);

    List<NoticeListVO> selectNotice(@Param("title") String title,
                                    @Param("type") Integer type);

}
